<%@ page language="java" pageEncoding="utf-8"%>
<%@ page language="java" import="java.util.*"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>"/>
	
<title>国际研究生教育法律法规信息资料数据库</title>
<link href="css/userfile.css" type="text/css" rel="stylesheet" />
<link href="css/base.css" type="text/css" rel="stylesheet" />
</head>



<body>

  <s:include value="../user_page_top.jsp"/>
  
  <div style="height:20px;"></div>
<div class = "usercont">
  	
    <s:include value="../user_page_left.jsp"/>
	
    <div class="width-800 right">
		
		<div class="righttcont">
			<h2><s:text name="_prUploadFiles"/></h2>
				
			<form id="file_form" enctype="multipart/form-data" method="post" action="file/UpdateFile.action">
				<s:fielderror/>
				<div class="left" style="margin-left:10px;">
				<table>
					<tr>
					<th><label><s:text name="_FileName"/><s:text name="_OriginalText"/></label></th>
					<td><s:textarea name="item.fileName" cols="25" rows="3"/></td>
				  </tr>
				  
				  <tr>
					<th><s:text name="_prfile"/></th>
					<td><input name="file" type="file" /></td>
				  </tr>
				  
				  
				  <tr>
					<th><label><s:text name="_Type"/></label></th>
					<td>
						
					<s:select name="item.type" list="#{'country':getText('country'),'school':getText('school'),'organ':getText('organ'),'other':getText('other')}" />
					</td>
				 </tr>
				  
				  <tr>
					<th><label><s:text name="_IssuingAgency"/><s:text name="_OriginalText"/></label></th>
					<td><s:textarea name="item.publishOrgan" cols="25" rows="2"/></td>
				  </tr>
			 		 <tr>
					<th><label><s:text name="_Source"/></label></th>
					<td><s:textarea name="item.dataSource" cols="30" rows="4"/></td>
				  </tr>
				  <tr>
					<th><label><s:text name="_FullText"/></label></th>
					<td><s:checkbox name="item.isAll"></s:checkbox></td>
				  </tr>
				 </table>
				 </div>
				 <div class="right" style="margin-right:40px;">
				 <table>
				  
				  
				  <tr>
					<th><label><s:text name="_FileName"/><s:text name="_ChineseText"/></label></th>
					<td><s:textarea name="item.fileNameCh" cols="25" rows="3"/></td>
				  </tr>
				  
				  <tr>
					<th><label><s:text name="_IssuingTime"/></label></th>
					
					<td><s:textfield name="year"/></td>
				  </tr>
				  <tr>
				  		<th><label><s:text name="_Country"/></label></th>
						<td>
						
						<s:select name="item.country" 
						list="#{'China':getText('China'),'US':getText('US'),'UK':getText('UK'),'jp':getText('jp')
						,'Canada':getText('Canada'),'India':getText('India'),'NewZealand':getText('NewZealand')
						,'Australia':getText('Australia'),'SouthAfrica':getText('SouthAfrica')
						,'Denmark':getText('Denmark'),'Sweden':getText('Sweden')
						,'Norway':getText('Norway'),'France':getText('France')
						,'Germany':getText('Germany')						
						,'other':getText('other')}" />
					 	
						
						
						</td>
				  </tr>
				  
				  <tr>
					<th><label><s:text name="_IssuingAgency"/><s:text name="_ChineseText"/></label></th>
					<td><s:textarea name="item.publishOrganCh" cols="25" rows="2"/></td>
				  </tr>
				  <tr>
					<th><label><s:text name="_prLanguage"/></label></th>
					<td>
					
						<s:select name="item.language" list="#{'cn':getText('cn'),'en':getText('en'),'zh_tr':getText('zh_tr'),'other':getText('other')}" />
					 	
					</td>
				  </tr>
				 
				
				</table>
				</div>
				
				<div class="clear"></div>
        <div style="margin-left:10px;">
        <table>
        <tr>
            <th><label><s:text name="_MainContent"/><s:text name="_OriginalText"/></label></th>
            <td><s:textarea name="item.mainContent" cols="40" rows="6"/></td>
          </tr>
          <tr>
            <th><label><s:text name="_MainContent"/><s:text name="_ChineseText"/></label></th>
            <td> <s:textarea name="item.mainContentCh" cols="40" rows="6"/></td>
          </tr>
          
          
          
          <tr>
            <th></th>
            <td><button name=""  type="submit" ><s:text name="_prsubmit"/></button></td>
          </tr>
          </table>
        </div>
        <div class="clear"></div>
			</form>
		</div>
	</div>
</div>   
     
     <s:include value="../foot.jsp"/>
     
</body>

</html>
